var titlesize = 16;
var textsize = 11;
var fontfamily = 'Arial';
var fontcolor='Color(255,190,190,190)';

//var img = identifiantbg.addImageObject('URL',posx,posy);
//var texte = identifiantbg.addTextObject('TEXTE',fontfamily,textsize,fontcolor,posx,posy);

function buildindexbody() {
	mainbg.addShadow('black',6,100,0,0);
	panel0img.addShadow('black',5,80,0,0);
	panel1img.addShadow('black',5,80,0,0);
	panel2img.addShadow('black',5,80,0,0);
	panel3img.addShadow('black',5,80,0,0);
}
function displayErrorMessage(str) {
	document.getElementById('errctt').innerHTML = str+'<br/><a class="closemessage" style="text-decoration:underline" href="javascript:hideErrorMessage();">Fermer</a>';
	document.getElementById('errormessage').style.display='block';
}
function hideErrorMessage() {
	document.getElementById('errctt').innerHTML = '';
	document.getElementById('errormessage').style.display='none';
}
function displayHelpMessage(str) {
	document.getElementById('hlpctt').innerHTML = str+'<a class="closemessage" style="text-decoration:underline" href="javascript:hideHelpMessage();">Fermer</a>';
	document.getElementById('helpmessage').style.display='block';
}
function hideHelpMessage() {
	document.getElementById('hlpctt').innerHTML = '';
	document.getElementById('helpmessage').style.display='none';
}